package com.xjzd.std.concurrency;

import java.util.concurrent.ArrayBlockingQueue;

public class BlockingQueueDemo {

    public static void main(String[] args) throws InterruptedException {
        var queue = new ArrayBlockingQueue<String>(1);
        queue.add("a");
        queue.put("b");
    }
}
